<!DOCTYPE html>
<html>

<head>
  <style>
    nav a {
      text-decoration: none;
      border-top: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
      display: inline-block;
      line-height: 30px;
      height: 30px;
    }

    nav a:hover,
    nav a:active,
    nav a:focus,
    nav a:visited {
      color: inherit;
    }
  </style>
</head>

<body>
  <nav>
    <a href="#">移动客户端</a>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    <a href="#">手机新浪网</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    <a href="#">设为首页</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    <a href="#">邮箱</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    <a href="#">博客</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    <a href="#">微博</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    <a href="#">登录</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    <a href="#">网站导航</a>
  </nav>
</body>

</html>